package org.example.compute;

public class ComputeFactory {

    public static Computable getCompute(String symbol)
            throws ClassNotFoundException, InstantiationException, IllegalAccessException {
        Computable computable = (Computable) Class.forName(symbol).newInstance();
        return computable;
    }
}
